package com.sunday.pinxinghui.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * Created by 刘涛 on 2017/8/19.
 */

public class Order implements Serializable {


    /**
     * orderNo : OLO1502329756369404452
     * orderId : 5
     * type : 1
     * memberId : 1
     * status : 0
     * sellerId : null
     * sellerName : null
     * num : 1
     * totalFee : 36
     * name : Guoyang
     * mobile : 13173619585
     * address : 浙江省杭州市萧山区宁围镇民和路国泰科技大厦
     * payMethod : null
     * amountFee : 0
     * amount : 0
     * score : 20
     * coupon : 0
     * coffers : 0
     * totalCommission : null
     * expressFee : 18
     * memo : 测试订单
     * express : null
     * expressNo : null
     * sendTime :
     * sendMethod : null
     * receiveTime :
     * createTime : 2017-08-10 09:49:16
     * finishedTime :
     * payTime :
     * refundTime :
     * refundFinishTime :
     * plusTime : 0
     * refundType : null
     * oldPayStatus : null
     * oldShipStatus : null
     * oldReceiveStatus : null
     * service : null
     *  "items": [
     {
     "orderItemId": 2,
     "productId": 8,
     "productName": "大力水手菠菜",
     "productImage": "http://ol-quan2017.oss-cn-shanghai.aliyuncs.com/imgs/ffbd84165c547a79691041fad6231eb8948963d3",
     "normal": "",
     "price": 18,
     "num": 1,
     "type": null,
     "status": 0,
     "commission": null,
     "express": null,
     "expressNo": null,
     "sendTime": ""
     }
     ]
     */

    private String orderNo;
    private long orderId;
    private int type;
    private int memberId;
    private int status;//订单状态 0待付款 1待发货 2待收货/待自提 3待评价 4交易关闭 5正在退款 6交易取消 7已退款 8正在退货 9已退货 10已完成 11待自提
    private Integer sellerId;
    private String sellerName;
    private int num;
    private BigDecimal totalFee;
    private String name;
    private String mobile;
    private Address address;
    private String payMethod;
    private BigDecimal amountFee;
    private BigDecimal amount;
    private Double score;
    private BigDecimal coupon;
    private BigDecimal coffers;
    private String totalCommission;
    private BigDecimal expressFee;
    private String memo;
    private String express;
    private String expressNo;
    private String sendTime;
    private int sendMethod;//1.品行专送 2.自提 3.快递
    private String receiveTime;
    private String createTime;
    private String finishedTime;
    private String payTime;
    private String refundTime;
    private String refundFinishTime;
    private int plusTime;
    private String refundType;
    private String oldPayStatus;
    private String oldShipStatus;
    private String oldReceiveStatus;
    private ServicePlace service;
    private List<OrderItem> items;
    private String expressCode;
    private int expressStatus;

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public long getOrderId() {
        return orderId;
    }

    public void setOrderId(long orderId) {
        this.orderId = orderId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getMemberId() {
        return memberId;
    }

    public void setMemberId(int memberId) {
        this.memberId = memberId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }





    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }



    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }











    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }



    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }



    public String getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(String receiveTime) {
        this.receiveTime = receiveTime;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getFinishedTime() {
        return finishedTime;
    }

    public void setFinishedTime(String finishedTime) {
        this.finishedTime = finishedTime;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    public String getRefundTime() {
        return refundTime;
    }

    public void setRefundTime(String refundTime) {
        this.refundTime = refundTime;
    }

    public String getRefundFinishTime() {
        return refundFinishTime;
    }

    public void setRefundFinishTime(String refundFinishTime) {
        this.refundFinishTime = refundFinishTime;
    }

    public int getPlusTime() {
        return plusTime;
    }

    public void setPlusTime(int plusTime) {
        this.plusTime = plusTime;
    }


    public Integer getSellerId() {
        return sellerId;
    }

    public void setSellerId(Integer sellerId) {
        this.sellerId = sellerId;
    }

    public String getSellerName() {
        return sellerName;
    }

    public void setSellerName(String sellerName) {
        this.sellerName = sellerName;
    }

    public BigDecimal getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(BigDecimal totalFee) {
        this.totalFee = totalFee;
    }

    public String getPayMethod() {
        return payMethod;
    }

    public void setPayMethod(String payMethod) {
        this.payMethod = payMethod;
    }

    public BigDecimal getAmountFee() {
        return amountFee;
    }

    public void setAmountFee(BigDecimal amountFee) {
        this.amountFee = amountFee;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getTotalCommission() {
        return totalCommission;
    }

    public void setTotalCommission(String totalCommission) {
        this.totalCommission = totalCommission;
    }

    public BigDecimal getExpressFee() {
        return expressFee;
    }

    public void setExpressFee(BigDecimal expressFee) {
        this.expressFee = expressFee;
    }

    public String getExpress() {
        return express;
    }

    public void setExpress(String express) {
        this.express = express;
    }

    public String getExpressNo() {
        return expressNo;
    }

    public void setExpressNo(String expressNo) {
        this.expressNo = expressNo;
    }



    public String getRefundType() {
        return refundType;
    }

    public void setRefundType(String refundType) {
        this.refundType = refundType;
    }

    public String getOldPayStatus() {
        return oldPayStatus;
    }

    public void setOldPayStatus(String oldPayStatus) {
        this.oldPayStatus = oldPayStatus;
    }

    public String getOldShipStatus() {
        return oldShipStatus;
    }

    public void setOldShipStatus(String oldShipStatus) {
        this.oldShipStatus = oldShipStatus;
    }

    public String getOldReceiveStatus() {
        return oldReceiveStatus;
    }

    public void setOldReceiveStatus(String oldReceiveStatus) {
        this.oldReceiveStatus = oldReceiveStatus;
    }



    public List<OrderItem> getItems() {
        return items;
    }

    public void setItems(List<OrderItem> items) {
        this.items = items;
    }

    public BigDecimal getCoupon() {
        return coupon;
    }

    public void setCoupon(BigDecimal coupon) {
        this.coupon = coupon;
    }

    public int getSendMethod() {
        return sendMethod;
    }

    public void setSendMethod(int sendMethod) {
        this.sendMethod = sendMethod;
    }

    public String getExpressCode() {
        return expressCode;
    }

    public void setExpressCode(String expressCode) {
        this.expressCode = expressCode;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public ServicePlace getService() {
        return service;
    }

    public void setService(ServicePlace service) {
        this.service = service;
    }

    public BigDecimal getCoffers() {
        return coffers;
    }

    public void setCoffers(BigDecimal coffers) {
        this.coffers = coffers;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public int getExpressStatus() {
        return expressStatus;
    }

    public void setExpressStatus(int expressStatus) {
        this.expressStatus = expressStatus;
    }
}
